home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ User Settings General.xpl
< prev
next >
Wrap
Text File
|
1998-11-12
|
1KB
|
48 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="1"
"COUNT"="2"
"UIPATH"="System\User Data"
"NAME"="Windows User Data"
"LANGUAGE"="VBScript"
"TEXT 1"="Name"
"TEXT 2"="Company"
"DESCRIPTION 1"="While Windows has been installed on your computer, it has saved your name and the name of your company."
"DESCRIPTION 2"="You can changes these informations here."
"DESCRIPTION 3"=""
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Version 1.1"
Sub Plugin_Initialize
if RegPathExists("HKLM\Software\Microsoft\Windows\CurrentVersion") then
s=RegReadValue("HKLM\Software\Microsoft\Windows\CurrentVersion\RegisteredOwner")
SetUIElement 1,s
s=RegReadValue("HKLM\Software\Microsoft\Windows\CurrentVersion\RegisteredOrganization")
SetUIElement 2,s
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue("HKLM\Software\Microsoft\Windows\CurrentVersion\RegisteredOwner",s,1)
s=GetUIElement(2)
Call RegWriteValue("HKLM\Software\Microsoft\Windows\CurrentVersion\RegisteredOrganization",s,1)
End Sub
Sub Plugin_Terminate
End Sub